﻿using System.Collections.Generic;
using System.ComponentModel;

namespace Borg.Framework
{
    public interface IDataModel<out T>
    {
        event ListChangedEventHandler ListChanged;

        IEnumerator<T> GetEnumerator();

        int Count { get; }
        T this[int index] { get; }
    }
}

